<cfcomponent>

	<cfscript>
		this.name = "CalGrantChampions";
		this.clientManagement = false;
	</cfscript>
	
	<cffunction name="onApplicationStart">
		<cfscript>
			application.pathToApplication = "/applications/champions";
			application.pathToJQuery = "/assets/jquery/jquery.min.js";
			application.pathToJQueryUI = "/assets/jquery/jquery-ui.min.js";
			application.pathToKendo = "/assets/kendoui/js/kendo.all.min.js";
			application.pathToKendoDefaultCSS = "/assets/kendoui/styles/kendo.default.min.css";
			application.pathToKendoCommonCSS = "/assets/kendoui/styles/kendo.common.min.css";
			application.pathToBootstrap = "/assets/bootstrap/js/bootstrap.min.js";
			application.pathToBootstrapCSS = "/assets/bootstrap/css/bootstrap.min.css";
			application.pathToComponents = "assets.calgrants.com";
			application.pathToBO = application.pathToComponents & ".bo";
			application.pathToServices = application.pathToComponents & ".service";
			application.pathToGateways = application.pathToComponents & ".gateway";
			application.pathToUI = "/assets/calgrants/ui";
		</cfscript>
	</cffunction>
	
	<cffunction name="onRequestStart">
	
		<cfif IsDefined("initApp")>
			<cfscript>
				onApplicationStart();
			</cfscript>
		</cfif>
		
		<cflock scope="application" timeout="20" type="readonly">
			<cfset StructAppend(request, application) />
		</cflock>
		
	</cffunction>
	
</cfcomponent>